package org.kojo.tdrm.model;

public class MyError {
	private String message;
	private String type;
	private int code;
	private boolean isError = false;
	public MyError(){
		
	}
	
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}

	public boolean isError() {
		return isError;
	}

	public void setError(boolean isError) {
		this.isError = isError;
	}

	@Override
	public String toString() {
		return "MyError [message=" + message + ", type=" + type + ", code="
				+ code + ", isError=" + isError + "]";
	}
}
